function copyField ( from_field, to_field )
{
	to_field.value = from.value;
}
function swap(bildname,tauschbild)
{
	document.images[bildname].src=tauschbild;
}




// Script by Thomas Stich
// http://www.stichpunkt.de/beitrag/popup.html
// use it if you like it
// 
// <a href="html-or.jpg" onclick="return popup(this,123,456)" title="..."
// or
// <a href="html-or.jpg" onclick="return popup(this)" title="..."
var pop = null;

function popdown() {
  if (pop && !pop.closed) pop.close();
}

function popup(obj, w, h, scroll) {
  var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
  if (!url) return true;
  w = (w) ? w  : 150;  // 150px*150px is the default size
  h = (h) ? h  : 150;
 
    var padding;
   (navigator.appName == "Microsoft Internet Explorer") ? (padding = 10) : (padding = 0);

   var screenw = screen.availWidth;
   var screenh = screen.availHeight;
   var winw = (w + 15 + padding);
   var winh = (h + 15 + padding);
   var posx = (screenw / 2) - (winw / 2);
   var posy = (screenh / 2) - (winh / 2);
 
  var args = 'top='+posy+',left='+posx+',width='+winw+',height='+winh+',resizable';
 
 args += (scroll) ? ',scrollbars' : ''
  popdown();
  pop = window.open(url,'',args);
  return (pop) ? false : true;
}
function popup_scroll(obj,w,h) {
  var url = (obj.getAttribute) ? obj.getAttribute('href') : obj.href;
  if (!url) return true;
  w = (w) ? w += 20 : 150;  // 150px*150px is the default size
  h = (h) ? h += 25 : 150;
  var args = 'width='+w+',height='+h+',resizable,scrollbars';
  popdown();
  pop = window.open(url,'',args);
  return (pop) ? false : true;
}

window.onunload = popdown;
window.onfocus = popdown;
